package com.tinshow.model.user;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable{

    private static final long serialVersionUID= -1367552561828123597l;

    private Integer userId;

    private String active;

    private Date dtCreated;

    private Date dtUpdated;

    private Integer referUserId;

    private String status;

    private String displayName;

    private String userName;

    private String email;

    private String mobilePhone;

    private String qqNum;

    private String password;

    private String gender;

    private String birthday;

    private String profileImage;

    private String validatorUUID;

    private String validatorExpire;

    public String getValidatorExpire() {
        return validatorExpire;
    }

    public void setValidatorExpire(String validatorExpire) {
        this.validatorExpire = validatorExpire;
    }

    private String lastEditedBy;

    public String getValidatorUUID() {
        return validatorUUID;
    }

    public void setValidatorUUID(String validatorUUID) {
        this.validatorUUID = validatorUUID;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getActive() {
        return active;
    }

    public void setActive(String active) {
        this.active = active == null ? null : active.trim();
    }

    public Date getDtCreated() {
        return dtCreated;
    }

    public void setDtCreated(Date dtCreated) {
        this.dtCreated = dtCreated;
    }

    public Date getDtUpdated() {
        return dtUpdated;
    }

    public void setDtUpdated(Date dtUpdated) {
        this.dtUpdated = dtUpdated;
    }

    public Integer getReferUserId() {
        return referUserId;
    }

    public void setReferUserId(Integer referUserId) {
        this.referUserId = referUserId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName == null ? null : displayName.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone == null ? null : mobilePhone.trim();
    }

    public String getQqNum() {
        return qqNum;
    }

    public void setQqNum(String qqNum) {
        this.qqNum = qqNum == null ? null : qqNum.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday == null ? null : birthday.trim();
    }

    public String getProfileImage() {
        return profileImage;
    }

    public void setProfileImage(String profileImage) {
        this.profileImage = profileImage == null ? null : profileImage.trim();
    }

    public String getLastEditedBy() {
        return lastEditedBy;
    }

    public void setLastEditedBy(String lastEditedBy) {
        this.lastEditedBy = lastEditedBy == null ? null : lastEditedBy.trim();
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", active='" + active + '\'' +
                ", dtCreated=" + dtCreated +
                ", dtUpdated=" + dtUpdated +
                ", referUserId=" + referUserId +
                ", status='" + status + '\'' +
                ", displayName='" + displayName + '\'' +
                ", userName='" + userName + '\'' +
                ", email='" + email + '\'' +
                ", mobilePhone='" + mobilePhone + '\'' +
                ", qqNum='" + qqNum + '\'' +
                ", password='" + password + '\'' +
                ", gender='" + gender + '\'' +
                ", birthday='" + birthday + '\'' +
                ", profileImage='" + profileImage + '\'' +
                ", lastEditedBy='" + lastEditedBy + '\'' +
                '}';
    }
}